package com.mybatis3.demo.dao;

import java.util.List;

import com.mybatis3.demo.pojo.UserEntity;

public interface UserDao {
	public void addUser(UserEntity entity);
	public void deleteUser(UserEntity entity);
	public void updateUser(UserEntity entity);
	public UserEntity findUserByEmail(String email);
	public UserEntity findUserByEmailAndPass(String email,String password);
	public List<UserEntity> findUsers();
	public UserEntity findByContions(UserEntity entity);
}
